<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>后台管理 -- Talking</title>
<link rel="stylesheet" href="./static/css/frame.css" />
<script type="text/javascript" src="./static/js/jquery-1.3.min.js"></script>
<script type="text/javascript" src="./static/js/common.js"></script>  
</head>

<body>
<div id="content">
    <div class="title">贴吧 » 贴吧管理</div>
    <div class="main">
        <h3>贴吧管理</h3>
        <form action="bar.php" method="post" name="form"> 
        <table cellpadding="0" cellspacing="0" class="list">
            <tbody>
                <tr>
                    <td width="30" align="center">删除</td>
                    <td>贴吧名</td>
                    <td width="100" align="center">吧主</td>
                    <td width="50" align="center">发帖数</td> 
                    <td width="150" align="center">创建时间</td>
                    <td width="120" align="center">所属类别</td>
                </tr>
                {{section name=n loop=$bars}}
                <tr>
                    <td align="center"><input type="checkbox" name="del[ ]" value="{{$bars[n].BarID}}" /></td>
                    <td>{{$bars[n].BarName}}</td>
                    <td align="center"><a href="/user.php?id={{$bars[n].BarAdmin}}" target="_blank">{{$bars[n].UserName}}</a></td> 
                    <td align="center">{{$bars[n].BarPostNum}}</td>   
                    <td align="center">{{$bars[n].BarCreateTime}}</td>
                    <td align="center">{{$bars[n].CateName}}</td>
                </tr>
                {{/section}}
                <tr>
                    <td align="center">&nbsp;</td>
                    <td colspan="6">
                        <a href="javascript:void(0)" onclick="selectAll()">全选</a>
                        &nbsp;&nbsp;&nbsp;
                        <a href="javascript:void(0)" onclick="inverse()">反选</a>
                        &nbsp;&nbsp;&nbsp;
                        <a href="javascript:void(0)" onclick="cancelAll()">取消</a>
                    </td>
                </tr>
            </tbody>
        </table>
        <p>
            <input type="submit" name="submit" class="button_submit" value="提交" />
            <span>{{$tip}}</span>  
        </p>
        </form> 
    </div>
</div>
</body>
</html>
